package gov.pbc.nn.kjgl.maintenance.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 系统巡检表
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_SYS_INSPECTION")
public class SysInspection extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column(name = "SYS_ID_", length = 60)
	private String sysId;
	@Column(name = "SYS_NAME_", length = 120)
	@PropertyDef(label = "系统名称")
	private String sysName;
	@Column(name = "WEEK_ID_", length = 60)
	private String weekId;
	@Column(name = "TASK_ID_", length = 60)
	@PropertyDef(label = "系统巡检任务ID")
	private String taskId;
	@Column(name = "TYPE_")
	@PropertyDef(label = "巡检类型", description = "0：日常询价；1：重大时期巡检")
	private int type;
	@Column(name = "SERVER_NAME_", length = 120)
	@PropertyDef(label = "服务器名称")
	private String serverName;
	@Column(name = "HARDWARE_WARN_")
	@PropertyDef(label = "硬件无报警")
	private boolean hardwareWarn = true;
	@Column(name = "LOG_NORMAL_")
	@PropertyDef(label = "巡检日志正常")
	private boolean logNormal = true;
	@Column(name = "EXCEPTION_", length = 500)
	@PropertyDef(label = "异常情况说明")
	private String exception;
	@Column(name = "DO_DATE_")
	@PropertyDef(label = "巡检日期")
	private Date doDate;
//	@Column(name = "FILE_ID_")
//	@PropertyDef(label = "巡检文件ID")
//	private String fileId;
//	@Column(name = "FILE_NAME_")
//	@PropertyDef(label = "巡检文件")
//	private String fileName;

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public boolean isHardwareWarn() {
		return hardwareWarn;
	}

	public void setHardwareWarn(boolean hardwareWarn) {
		this.hardwareWarn = hardwareWarn;
	}

	public boolean isLogNormal() {
		return logNormal;
	}

	public void setLogNormal(boolean logNormal) {
		this.logNormal = logNormal;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getWeekId() {
		return weekId;
	}

	public void setWeekId(String weekId) {
		this.weekId = weekId;
	}

	public Date getDoDate() {
		return doDate;
	}

	public void setDoDate(Date doDate) {
		this.doDate = doDate;
	}

//	public String getFileId() {
//		return fileId;
//	}
//
//	public void setFileId(String fileId) {
//		this.fileId = fileId;
//	}
//
//	public String getFileName() {
//		return fileName;
//	}
//
//	public void setFileName(String fileName) {
//		this.fileName = fileName;
//	}

}
